package com.tanhua.fenghao.domain;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 阿鹏
 * @date 2021/3/2 10:36
 */
@Data
public class Result implements Serializable {

    private boolean flag;
    private String message;
    private Object result;

    public Result() {

    }

    public Result(boolean flag, String message) {
        this.flag = flag;
        this.message = message;
    }

    public Result(boolean flag, String message, Object result) {
        this.flag = flag;
        this.message = message;
        this.result = result;
    }
}
